package com.theeviljames;

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JFrame;

public class Level4 extends JFrame{

	public Level4() {
		super();
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(500,500);
		setVisible(true);
		
	}
	
	@Override
	public void paint(Graphics g) {
		g.setColor(Color.BLACK);
		for(int[] i:level4){
			g.drawRect(i[0], i[1], i[2], i[3]);
		}
		super.paint(g);
	}
	
	@Override
	public void repaint() {
		// TODO Auto-generated method stub
		super.paint(this.getGraphics());
	}
	private static final int[][] level4 = {{4,153,60,150},
		{241,292,310,14},
		{116,6,122,297},{93,106,92,45},
		{66,148,93,106},{4,4,4,300},
		{381,20,448,155},{125,296, 223,297},
		{92,45,54,4},{310,14, 363,291},
		{496,20, 400,293},{276,155,337,155},
		{54,4,4,4}};
	
	public static void main(String[] args) {
		/*for(int[] i:level4)for(int j:i){
			//if(0<=j&&j<=255)System.out.print((char)j);
			System.out.print((char)(j%256));
		}*/
		Level4 l = new Level4();
		
		
	}
}
